package com.ruoyi.plus.pub.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 意见反馈对象 pub_opinion
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("pub_opinion")
public class PubOpinion extends BaseEntity implements Serializable{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "id")
    private Long id;

    /** 反馈人id */
    @Excel(name = "反馈人id")
    @TableField(value = "user_id")
    private Long userId;

    /** 反馈人 */
    @Excel(name = "反馈人")
    @TableField(value = "user_name")
    private String userName;

    /** 意见内容 */
    @Excel(name = "意见内容")
    @TableField(value = "content")
    private String content;

    /** 状态 */
    @Excel(name = "状态")
    @TableField(value = "status")
    private String status;

    /** 来源 */
    @Excel(name = "系统类型")
    @TableField(value = "system_type")
    private String systemType;


}
